package com.ge.modules.sys.service.impl;

import com.ge.modules.dao.TbPropertyDao;
import com.ge.modules.entity.TbPropertyEntity;
import com.ge.modules.sys.service.SysPropertyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class SysPropertyServiceImpl implements SysPropertyService {
	@Autowired
	private TbPropertyDao tbPropertyDao;
	
	@Override
	public TbPropertyEntity queryObject(Integer id){
		return tbPropertyDao.queryObject(id);
	}
	
	@Override
	public List<TbPropertyEntity> queryList(Map<String, Object> map){
		return tbPropertyDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tbPropertyDao.queryTotal(map);
	}
	
	@Override
	public void save(TbPropertyEntity property){
		tbPropertyDao.save(property);
	}
	
	@Override
	public void update(TbPropertyEntity property){
		tbPropertyDao.update(property);
	}
	
	@Override
	public void delete(Integer id){
		tbPropertyDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tbPropertyDao.deleteBatch(ids);
	}
	
}
